<?php

require_once 'init.php';

$boats = query2arrays("
	SELECT boats.id, boats.name, image01, image02, image03, image04, image05, image06, image07, image08, image09, image10
	FROM boats
    ORDER BY boats.sort_order, boats.name
");

$smarty->assign('boats', $boats);

$page = new Page('boats');
$smarty->assign('page',$page);

show(
	'boats', 
	$page->name()
);

?>